package com.yinlei.appserver

/**
 *  URL路由模块：
 *  1. 获取i相对路径
 *  2. 定义IResourceUriHandler 并注册方法(SimpleHttpServer中的registerResourceHandler()方法
 *  3. 遍历handler
 */
interface IResourceUriHandler {
    fun accept(url: String): Boolean
    fun handle(url: String, httpContext: HttpContext)
}